package factory;

public class service {
    @Autowired
    private DataRepository dataRepository;

    public void setDataRepository(String key,Object data) {
        dataRepository.saveData(key, data);
    }
    public Object getDataRepository(String key) {
        return dataRepository.getData(key);
    }
}
